import request from '@/utils/request'

// 查询采煤工作面基本信息列表
export function listCsCoalMiningWorkInfo(query) {
    return request({
        url: '/mine/csCoalMiningWorkInfo/list',
        method: 'get',
        params: query
    })
}

// 查询采煤工作面基本信息详细
export function getCsCoalMiningWorkInfo(id) {
    return request({
        url: '/mine/csCoalMiningWorkInfo/' + id,
        method: 'get'
    })
}

// 新增采煤工作面基本信息
export function addCsCoalMiningWorkInfo(data) {
    return request({
        url: '/mine/csCoalMiningWorkInfo',
        method: 'post',
        data: data
    })
}

// 修改采煤工作面基本信息
export function updateCsCoalMiningWorkInfo(data) {
    return request({
        url: '/mine/csCoalMiningWorkInfo',
        method: 'put',
        data: data
    })
}

// 删除采煤工作面基本信息
export function delCsCoalMiningWorkInfo(id) {
    return request({
        url: '/mine/csCoalMiningWorkInfo/' + id,
        method: 'delete'
    })
}
